package ruanjian.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ruanjian.dao.CDao;
import ruanjian.domain.Customer;
import ruanjian.service.CService;

import java.util.List;
@Service("cServiceImpl")
public class CServiceImpl  implements CService {
    @Autowired
    public CDao cDao;
    @Override
    public List<Customer> selectCus(){
        List<Customer> customers = cDao.selectCus();
        return customers;
    }
}
